package com.stx.day0917;

/**
 * packageName com.stx.day0917
 *
 * @author YangYi
 * @className Phone
 * @date 2025/9/17
 * @description TODO
 */
public class Phone {
    private String name;
    private String face;
    private String cell;

    public Phone(){
        System.out.println("phone 构造函数");
    }

    public void show(){
        System.out.println("手机品牌："+name);
    }

    public void call(){
        System.out.println(name+"手机打电话");
    }
    public void msg(){
        System.out.println(name+"发短信");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFace() {
        return face;
    }

    public void setFace(String face) {
        this.face = face;
    }

    public String getCell() {
        return cell;
    }

    public void setCell(String cell) {
        this.cell = cell;
    }
}
